package com.chengjue.service;

import com.chengjue.common.ServerResponse;
import com.chengjue.model.UserModel;

public interface UserService {
    ServerResponse<String> register(UserModel user);
    ServerResponse<UserModel> login(UserModel user);

    ServerResponse<String> resetPassWord(Long id, String old, String newPassword);
}
